<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns="http://java.sun.com/xml/ns/javaee" 
	xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
	xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" 
	id="WebApp_ID" 
	version="2.5">
  <display-name>LightWeight</display-name>
  <welcome-file-list>
    <welcome-file>index.html</welcome-file>
  </welcome-file-list>

  <servlet>
    <servlet-name>actionServlet</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <!-- 配置自启动的级 -->
	<load-on-startup>2</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>actionServlet</servlet-name>
    <url-pattern>*.do</url-pattern>
  </servlet-mapping>
  <jsp-config>
  	<!-- 配置html 标签库 -->
	<taglib>
		<!-- 配置html 标签库的URI-->
		<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
		<!-- 指定html 标签库的物理位置-->
		<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
	</taglib>
	<!-- 配置bean 标签库 -->
	<taglib>
		<!-- 配置bean 标签库的URI-->
		<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
		<!-- 指定bean 标签库的物理位置-->
		<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
	</taglib>
	<!-- 配置logic标签库 -->
	<taglib>
		<!-- 配置logic标签库的URI -->
		<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
		<!-- 指定logic 标签库的物理位置 -->
		<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
	</taglib>
  </jsp-config>
</web-app>